//
//  MyProjectCell.swift
//  baihuiju
//
//  Created by 赵家彬 on 2018/5/24.
//  Copyright © 2018年 赵家彬. All rights reserved.
//

import UIKit

class MyOrderCell: UITableViewCell {
    
    
    @IBOutlet weak var lblProductId: UILabel!
    
    @IBOutlet weak var lblProductName: UILabel!
    
    @IBOutlet weak var lblOrderTime: UILabel!
    
    @IBOutlet weak var lblOrderMoney: UILabel!
    
    @IBOutlet weak var lblStatus: UILabel!
    
    @IBOutlet weak var lblFenRun: UILabel!
    
    @IBOutlet weak var lblGoosType: UILabel!
    
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        self.selectionStyle = .none
    }

    var model:MyOrderModel = MyOrderModel() {
        didSet {
            lblProductId.text = "产品编号：\(model.product_id)"
            lblProductName.text = model.product_name
            lblOrderMoney.text = model.amount
            lblStatus.text = model.progress_text
            lblOrderTime.text = model.add_time
            lblFenRun.text = model.accrual
            lblGoosType.text = "商品组合:\(model.goods_type)"
        }
    }
    
}
